<?php

namespace backend\models\system;

use Yii;
use backend\models\system\SysConfig;

/**
 * ContactForm is the model behind the contact form.
 */
class ValidationcodeForm extends SysConfig
{
	public $default_photo;//系统默认头像

	/**
	 * @inheritdoc 验证规则
	 */
	public function rules()
	{
		return [
		['default_photo', 'file', 'extensions' => ['png', 'jpg', 'gif'], 'maxSize' => 1024*1024*10]
		];
	}

	/**
	 * @inheritdoc
	 */
	public function attributeLabels()
	{
		return [
			'default_photo' => '系统默认头像',
		];
	}



}